package com.cheng.dao;


import com.cheng.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {

    //商家查询订单
    List<Order> querymerchantsOrder(@Param("userCode")String userCode);

    //用户查询订单
    List<Order> queryusersOrder(@Param("name")String name);

    //商家删除订单
    int merchantsDeleteOrder(@Param("ordercode")String ordercode);

    //用户添加订单
    int addOrder(@Param("ordername")String ordername,@Param("qwer")java.util.Date qwer,@Param("usercode")String usercode,@Param("Child_number")String Child_number,@Param("Adult_number")String Adult_number,@Param("total_price")String total_price,@Param("name")String name,@Param("productcode")String productcode,@Param("cno")int cno);


}
